DIAFEVER algorithm